/*
 * 
 * 教育装备服务大数据
 * 
 * 
 */
//装备类型分布
let res = {
  status: 1001, //1001成功，1002失败
  message: "", //失败原因
  data: [
    {
      value: 22,
      name: "投影仪"
    },
    {
      value: 28,
      name: "班班通"
    },
    {
      value: 22,
      name: "麦克风"
    },
    {
      value: 10,
      name: "终端主机"
    },
    {
      value: 18,
      name: "电视机"
    },
    {
      value: 18,
      name: "其他"
    }
  ]
};

//近一年故障分析
let res = {
  status: 1001, //1001成功，1002失败
  message: "", //失败原因
  data: [
    {
      value: [146, 130, 106, 180, 107, 160, 150, 140, 160, 170, 180, 190],
      name: "故障数"
    },
    {
      value: [3, 4, 5, 6, 7, 8, 9, 0, 1, 1, 2, 12],
      name: "故障率"
    },
    {
      value: [100, 90, 99, 6, 7, 8, 9, 0, 1, 1, 2, 12],
      name: "维修率"
    }
  ]
};

//各地点装备故障情况
let res = {
  status: 1001, //1001成功，1002失败
  message: "", //失败原因
  data: [
    {
      name: "阔地小学",
      count: 1000,
      rate: 12
    },
    {
      name: "黄埔军校",
      count: 10,
      rate: 1
    },
    {
      name: "清华附中",
      count: 10,
      rate: 4
    }
  ]
};
//装备数，故障数，维修次数，平均报修响应时间
let res = {
  status: 1001, //1001成功，1002失败
  message: "", //失败原因
  data: [
    {
      areaCode: "420000",
      value:{
        count: 500,
        faultCount: 400,
        fixCount: 200,
        averageTime: 121,
      }
    },
  ]
};
//各行政区故障情况分析
let res = {
  status: 1001, //1001成功，1002失败
  message: "", //失败原因
  obj: {
    areaList: ["北京市", "天津市"],
    faultCountList: [1000, 900],
    faultRateList: [90, 89],
    fixRateList: [88, 87]
  }
};
//故障率，维修率，淘汰率
let res = {
  status: 1001, //1001成功，1002失败
  message: "", //失败原因
  obj: {
    count: 1000,
    faultCount: 200,
    fixCount: 180,
    outCount: 20
  }
};
//故障状态分布
let res = {
  status: 1001, //1001成功，1002失败
  message: "", //失败原因
  obj: {
    processed: 90, //已处理
    pending: 10, //待处理
    processing: 20 //处理中
  }
};
//报修渠道分布
let res = {
  status: 1001, //1001成功，1002失败
  message: "", //失败原因
  data: [
    {
      name: "主动服务",
      count: 12
    },
    {
      name: "微信",
      count: 12
    },
    {
      name: "400电话",
      count: 12
    },
    {
      name: "后台保障",
      count: 12
    },
    {
      name: "QQ群",
      count: 12
    },
    {
      name: "人工服务",
      count: 12
    }
  ]
};
/*
 * 
 * 教育装备应用大数据
 * 
 * 
 */

//科学使用时长
let res = {
  status: 1001, //1001成功，1002失败
  message: "", //失败原因
  data: [
    {
      subject: "语文",
      time: 186
    }
  ]
};
//年级使用时长占比
let res = {
  status: 1001, //1001成功，1002失败
  message: "", //失败原因
  data: [
    {
      grade: "一年级",
      time: 186
    }
  ]
};
//地点排行榜
let res = {
  status: 1001, //1001成功，1002失败
  message: "", //失败原因
  data: [
    {
      name: "阔地小学",
      time: 1000,
      rate: 12
    },
    {
      name: "黄埔军校",
      time: 10,
      rate: 1
    },
    {
      name: "清华附中",
      time: 10,
      rate: 4
    }
  ]
};
//各行政区使用分布情况
let res = {
  status: 1001, //1001成功，1002失败
  message: "", //失败原因
  data: [
    {
      areaCode: "420000", //地区编码
      value:{
        equipCnt: 9000, //装备数量
        onLine: 890, //当前在线
        onLineRate: 98, //在线率
        time: 33, //使用时长（时）
        useRate: 56, //使用率
        warnRate: 1 //今日报警装备占比
      }
    }
  ]
};
//近30天装备使用情况
let res = {
  status: 1001, //1001成功，1002失败
  message: "", //失败原因
  obj: {
    date: ["1-1", "1-2", "1-3"],
    terminalHost: [41, 42, 43], //终端主机
    classes: [41, 42, 43], //班班通
    time: [98, 54, 78] //使用时长
  }
};
//使用情况
let res = {
  status: 1001, //1001成功，1002失败
  message: "", //失败原因
  data: [
    {
      name: "班班通",
      count: 12
    },
    {
      name: "在线课堂终端",
      count: 12
    },
    {
      name: "大屏一体机",
      count: 12
    },
    {
      name: "终端主机",
      count: 12
    }
  ]
};
//近一小时装备使用情况
let res = {
  status: 1001, //1001成功，1002失败
  message: "", //失败原因
  obj: {
    point: ["8:00", "9:00", "10:00"],
    useCnt: [146, 130, 106], //使用数
    seriousWarn: [1, 2, 3], //严重警告
    generalWarn: [13, 2, 3] //一般警告
  }
};
//告警程度以及类别分布
let res = {
  status: 1001, //1001成功，1002失败
  message: "", //失败原因
  data: [
    {
      name: "CPU过高",
      value: 18
    }
  ],
  seriousWarn: 9,
  generalWarn: 89
};
